using System;
using System.Data;
using System.Configuration;

          using System.Collections;
using System.Web;
using System.Web.Security;

            using System.Web.UI;
using System.Web.UI.WebControls;

                using System.Web.UI.WebControls.WebParts;

            using System.Web.UI.HtmlControls;

using Component;
public partial class BackEnd_TopMenu : System.Web.UI.UserControl
{
 
    protected void Page_Load(object sender, EventArgs e)
    {
       
        
    }
    public string GetContentManagement()
    {
        string tam = "";
        foreach (ContentManagement _contentManagement in ContentManagementDB.GetAll(true))
        {
            tam += "<div class=\"Menu\"><a href=\"" + _contentManagement.Url + "\">";
            tam += _contentManagement.Name;
            tam += "</a></div><div class=\"MenuSpace\">&nbsp;&nbsp;&nbsp;&nbsp</div>";
        }
        return tam;
    }

}
